package cn.tedu.demo;

/**
 * @author CCFu
 * @version 1.0
 * @date 2021/11/8 20:04
 */
public class Test2 {
    public static void main(String[] args) {
        for (int i = 0; i < 5; i++) {
            for (int j = i; j < 4; j++) {
                System.out.print(" ");
            }
            for (int e = 0; e < i*2+1; e++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
